package com.tongji.housediy.controller.CantavilCMD
{
	import com.tongji.housediy.events.CantavilEvent.GetCantavilResultEvent;
	import com.tongji.housediy.service.CantavilService;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author Barbiel
	 * 2011-
	 */
	public class GetCantavilResultCmd extends Command
	{
		[Inject]
		public var service:CantavilService;
		
		[Inject]
		public var event:GetCantavilResultEvent;
		
		override public function execute():void
		{
			service.getCantavilResult(event.cantavilName);
		}
	}
}